package com.krisyu.chainOfResponsibility.COR2;

/**
 * @DATE 2022/1/5
 * @Author KrisYu
 * @Description
 */
class Women implements IWomen{
    /**
     * 妇女类型：
     * 1、未出嫁
     * 2、出嫁
     * 3、寡妇
     */
    private int type;
    // 妇女的请示
    private String request;

    public Women(int type, String request) {
        this.type = type;
        this.request = request;
    }


    @Override
    public int getType() {
        return this.type;
    }

    @Override
    public String getRequest() {
        return this.request;
    }
}
